package com.crm.redis.service.cluePoolManager;

import com.crm.model.entity.cluePoolManager.CluePoolPrivate;

/**
 * @author luojie
 * @date 2021/5/13 15:54
 */
public interface CluePoolPrivateRedisService {

    /**
     * 根据公共线索池id查询线索池基本信息缓存
     * @param cluePoolPrivateId 私有线索池id
     * @return
     */
    CluePoolPrivate getCluePoolPrivateById(String cluePoolPrivateId);

    /**
     * 根据id增加/更新公共线索池信息
     * @param cluePoolPrivate  私有线索池id
     * @return
     */
    Boolean setCluePoolPrivateById(CluePoolPrivate cluePoolPrivate);

    /**
     * 根据id删除公共线索池信息
     * @param cluePoolPrivateId 私有线索池id
     * @return
     */
    Boolean deleteCluePoolPrivateById(String cluePoolPrivateId);

}
